package cn.myschool.exer;

public class MainBoard {
    private String brand;
    private String cpu;
    private String  memoryBank;
    public void assemble(){
        System.out.println("主板品牌"+brand+"，搭载"+cpu+"和"+memoryBank);
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public void setCpu(String cpu) {
        this.cpu = cpu;
    }

    public void setMemoryBank(String memoryBank) {
        this.memoryBank = memoryBank;
    }
}
